package net.togogo.bean;

import java.io.Serializable;
import java.util.Date;

public class EProduct implements Serializable {
    private Integer id;

    private String no;

    private String name;

    private Double weight;

    private Boolean isNew;

    private Boolean isHot;

    private Boolean isCommend;

    private Date createTime;

    private String createUserId;

    private Date checkTime;

    private String checkUserId;

    private Boolean isShow;

    private Boolean isDel;

    private Integer typeId;

    private Integer brandId;

    private String keywords;

    private Integer sales;

    private String feature;

    private String color;

    private String size;

    private static final long serialVersionUID = 1L;

    public EProduct(Integer id, String no, String name, Double weight, Boolean isNew, Boolean isHot, Boolean isCommend, Date createTime, String createUserId, Date checkTime, String checkUserId, Boolean isShow, Boolean isDel, Integer typeId, Integer brandId, String keywords, Integer sales, String feature, String color, String size) {
        this.id = id;
        this.no = no;
        this.name = name;
        this.weight = weight;
        this.isNew = isNew;
        this.isHot = isHot;
        this.isCommend = isCommend;
        this.createTime = createTime;
        this.createUserId = createUserId;
        this.checkTime = checkTime;
        this.checkUserId = checkUserId;
        this.isShow = isShow;
        this.isDel = isDel;
        this.typeId = typeId;
        this.brandId = brandId;
        this.keywords = keywords;
        this.sales = sales;
        this.feature = feature;
        this.color = color;
        this.size = size;
    }

    public EProduct() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no == null ? null : no.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Boolean getIsNew() {
        return isNew;
    }

    public void setIsNew(Boolean isNew) {
        this.isNew = isNew;
    }

    public Boolean getIsHot() {
        return isHot;
    }

    public void setIsHot(Boolean isHot) {
        this.isHot = isHot;
    }

    public Boolean getIsCommend() {
        return isCommend;
    }

    public void setIsCommend(Boolean isCommend) {
        this.isCommend = isCommend;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId == null ? null : createUserId.trim();
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(String checkUserId) {
        this.checkUserId = checkUserId == null ? null : checkUserId.trim();
    }

    public Boolean getIsShow() {
        return isShow;
    }

    public void setIsShow(Boolean isShow) {
        this.isShow = isShow;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getBrandId() {
        return brandId;
    }

    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords == null ? null : keywords.trim();
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public String getFeature() {
        return feature;
    }

    public void setFeature(String feature) {
        this.feature = feature == null ? null : feature.trim();
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color == null ? null : color.trim();
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size == null ? null : size.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", no=").append(no);
        sb.append(", name=").append(name);
        sb.append(", weight=").append(weight);
        sb.append(", isNew=").append(isNew);
        sb.append(", isHot=").append(isHot);
        sb.append(", isCommend=").append(isCommend);
        sb.append(", createTime=").append(createTime);
        sb.append(", createUserId=").append(createUserId);
        sb.append(", checkTime=").append(checkTime);
        sb.append(", checkUserId=").append(checkUserId);
        sb.append(", isShow=").append(isShow);
        sb.append(", isDel=").append(isDel);
        sb.append(", typeId=").append(typeId);
        sb.append(", brandId=").append(brandId);
        sb.append(", keywords=").append(keywords);
        sb.append(", sales=").append(sales);
        sb.append(", feature=").append(feature);
        sb.append(", color=").append(color);
        sb.append(", size=").append(size);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}